Skip to content

feat: CSS redesign — darker theme, lighter typography, muted agent text#3043

Open
tracyjohnsonux wants to merge 2 commits intomainfrom
css-redesign
Open

feat: CSS redesign — darker theme, lighter typography, muted agent text#3043
tracyjohnsonux wants to merge 2 commits intomainfrom
css-redesign

Conversation

@tracyjohnsonux
Copy link

CSS Redesign

Design riff applied from mux-css-riff workspace. All changes are CSS-layer overrides with minimal component data-attribute additions for targeting.

Color Changes

Token Before After
--color-background #1e1e1e / hsl(0 0% 12%) #09090B
--color-code-bg #0d0d0d #141416
Link color inherited #60A5FA
Inline code inherited #94A3B8
Success badge default bg #052E16 text #16A34A
Danger badge default bg #450A0A text #F87171
Muted agent text #888895

Typography

  • Body: font-weight: 200, letter-spacing: 0.01em
  • Code: font-weight: 400
  • Lists: no bullets, custom counter-increment for ordered lists
  • Numbered sections: heading flush left, body indented 24px

Component Styling

  • Tables: no border, no header bg, row dividers only, horizontal scroll wrapper
  • Thinking blocks: transparent bg, monospace badge, muted content text
  • Tool calls: muted text (#888895), icon-only status, pipe separators
  • User message: transparent border (reveals on hover)
  • Details/summary: SVG chevron rotation, borderless, indented content
  • Scrollbars: dark thin style (🤖 Add integration tests for stream error recovery (no amnesia) #333 thumb)
  • File change cards: dark bg (#141416), monospace header
  • Step progress lists: active/done/pending states

Data Attributes Added (for CSS targeting)

  • data-user-message, data-message-role on UserMessage
  • data-reasoning, data-reasoning-* on ReasoningMessage
  • data-tool-call, data-tool-* on BashToolCall, GenericToolCall
  • data-exit-code on ExitCodeBadge
  • table-scroll-wrapper class on markdown tables
  • file-change-* classes on FileEditToolCall
  • step-list, step-item, step-* classes on TodoList

Preview

Dev server running on workspace mux-experiments-css — frontend on port 5173, backend on port 3000.

Design Reference

Audit: ~/design-ref/VISUAL_AUDIT.md in the workspace

CSS Variable Changes:
- Background: #09090B (deeper dark), Code bg: #141416
- Link color: #60A5FA, Inline code: #94A3B8
- Success badge: bg #052E16/text #16A34A
- Danger badge: bg #450A0A/text #F87171
- Muted agent text: #888895

Typography:
- Body font-weight: 200, letter-spacing: 0.01em
- Code font-weight: 400
- Custom ordered list counters, no default bullets
- Numbered section body indented 24px

Component Styling:
- Tables: no border, no header bg, row dividers only, scroll wrapper
- Thinking blocks: transparent bg, monospace badge, muted content
- Tool calls: muted text, icon-only status, pipe separators
- User message: transparent border (show on hover)
- Details/summary: SVG chevron, no border, indented content
- Dark thin scrollbars
- File change cards, step progress lists

Data Attributes Added:
- data-user-message, data-message-role on UserMessage
- data-reasoning, data-reasoning-toggle/badge/preview/content on ReasoningMessage
- data-tool-call, data-tool-header/command/status on BashToolCall, GenericToolCall
- data-exit-code on ExitCodeBadge (ToolPrimitives)
- table-scroll-wrapper on markdown tables
- file-change-card/header/body on FileEditToolCall
- step-list, step-item, step-active/done/pending on TodoList
…ning

- ExpandIcon now renders ChevronRight SVG instead of ▶ text character
- ReasoningMessage uses ChevronRight SVG instead of ▸ text character
- Removed 22 instances of ▶ children from ExpandIcon callsites
- Consistent #888895 muted color on all chevrons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant